cmake_minimum_required (VERSION 2.8)

project(ModelViewer)

file(GLOB SOURCE_FILES ./*.*)


if(WIN32)

add_definitions(-DGLEW_STATIC)

include_directories(
	${Deps_DIR}/assimp/include
	${Deps_DIR}/glew-1.12.0/include
	${Deps_DIR}/freeglut/include
	${Deps_DIR}/
	)
link_directories(
	${Deps_DIR}/assimp/lib
	${Deps_DIR}/glew-1.12.0/lib/$(Configuration)/x64/
	${Deps_DIR}/freeglut/lib/x64
	)
elseif(UNIX)

endif()

add_executable(ModelViewer ${SOURCE_FILES})

if(WIN32)
target_link_libraries(ModelViewer opengl32.lib freeglut.lib)
target_link_libraries(ModelViewer optimized assimp-vc140-md.lib optimized glew32s.lib)
target_link_libraries(ModelViewer debug assimp-vc140-mdd.lib debug glew32sd.lib)
elseif(UNIX)

endif()